package com.rfid.protocol;

import android.util.Log;

import com.rfid.event.SetPowerEvent;

import org.greenrobot.eventbus.EventBus;

/**
 * @author Administrator
 * @date 2020/9/18
 */
public class SetPowerCommand extends Instruction {
    @Override
    public void invoke(byte[] data) {
        Log.e("SetPowerCommand", "SetPowerCommand");
        EventBus.getDefault().post(new SetPowerEvent());
    }

    @Override
    public byte[] getCommand() {
        return new byte[]{(byte) 0xb6};
    }
}